package com.cherrish.demo.wifi.cmd;

import java.util.concurrent.Callable;

/**
 * @Author cherrish
 * @Date 2019/7/10 10:27
 * @Version: 1.0
 * @Description
 */
public class CheckTask implements Callable<Boolean> {

	private String ssid;
	private String password;

	public CheckTask(String ssid, String password) {
		this.ssid = ssid;
		this.password = password;
	}

	@Override
	public Boolean call() {
		WlanExecute execute = new WlanExecute();
		boolean checked = execute.check(ssid, password);
		return checked;
	}
}
